package org.rcy.ruicingmarket.user;

import lombok.Data;
import org.rcy.framework.api.entity.BaseEntity;
import org.rcy.ruicingmarket.user.UserStatus;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;



/**
*
* @author RuicyWu
*@Date 2021-12-22 14:34:38
*/
@Data
@Entity
@Table(name = "user")
public class User extends BaseEntity {

	private String avatar; //头像

	private String username; //用户名

	private String password; //密码

	private String mobile; //手机号

	private String email; //邮箱

	private UserStatus status; //账号状态

	private Boolean auth;  //是否实名

	private Date createTime;  //创建时间

	private Date updateTime;  //更新时间

}
